package cn.bonoon.core.plugins;

import java.util.List;

import cn.bonoon.entities.plugins.AccountEntity;

/**
 * 
 * 登录接口
 * 
 * @author jackson
 * 
 */
public interface LoginService {

	AccountEntity loadByLoginName(String loginName);

	// List<RoleEntity> getRoles(Long uid);

	List<String> getRoleKeys(Long uid);

}
